package com.tbit.main.pojo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author LMY
 * @create 2022-05-09 9:01
 */
@Data
public class RideRefundOrderSta {

    private BigDecimal rideRefundMoney;

    public void setRideRefundMoney(Long rideRefundMoney) {
        BigDecimal bigDecimal = new BigDecimal(rideRefundMoney);
        bigDecimal = bigDecimal.divide(new BigDecimal("100")).setScale(2, BigDecimal.ROUND_HALF_UP);
        ;
        this.rideRefundMoney = bigDecimal;
    }
}
